<!-- 任务执行情况 -->
<template>
  <div class="recorded-video-column" v-show="dialogVisible">
    <div class="recorded-video-progress">
      <div class="down-gif">
        <div class="pswp__preloader__icn">
          <div class="pswp__preloader__cut">
            <div class="pswp__preloader__donut"></div>
          </div>
        </div>
      </div>
      <p class="line-title">获取权限中，请稍后……</p>
    </div>
  </div>
</template>
<script>
export default {
  name: 'progressVideo',
  props: ['visible'],
  components: {},
  data() {
    return {
      dialogVisible: this.visible,
      progressPercent: 0
    }
  },
  watch: {
    visible() {
      this.dialogVisible = this.visible
    }
  },
  created() {

  },
  methods: {},
  mounted() {
  }
}
</script>
<style scoped>
.recorded-video-column {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .5);
  z-index: 1;
}

.recorded-video {
  padding: 0 10px 20px 10px;
  background: #fff;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
}

.down-gif {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 5px;
}

.pswp__preloader__icn {
  opacity: 0.75;
  width: 24px;
  height: 24px;
  -webkit-animation: clockwise 500ms linear infinite;
  animation: clockwise 500ms linear infinite;
}

.pswp__preloader__cut {
  position: relative;
  width: 12px;
  height: 24px;
  overflow: hidden;
  top: 0;
  left: 0;
}

.pswp__preloader__donut {
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  border: 2px solid #ff7531;
  border-radius: 50%;
  border-left-color: transparent;
  border-bottom-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  background: none;
  margin: 0;
  -webkit-animation: donut-rotate 1000ms cubic-bezier(.4, 0, .22, 1) infinite;
  animation: donut-rotate 1000ms cubic-bezier(.4, 0, .22, 1) infinite;
}

@-webkit-keyframes clockwise {
  0% {
    -webkit-transform: rotate(0deg)
  }
  100% {
    -webkit-transform: rotate(360deg)
  }
}

@keyframes clockwise {
  0% {
    transform: rotate(0deg)
  }
  100% {
    transform: rotate(360deg)
  }
}

@-webkit-keyframes donut-rotate {
  0% {
    -webkit-transform: rotate(0)
  }
  50% {
    -webkit-transform: rotate(-140deg)
  }
  100% {
    -webkit-transform: rotate(0)
  }
}

@keyframes donut-rotate {
  0% {
    transform: rotate(0)
  }
  50% {
    transform: rotate(-140deg)
  }
  100% {
    transform: rotate(0)
  }
}

.recorded-video-progress {
  width: 500px;
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  color: #333;
}

.progressbody .el-progress-bar__innerText {
  color: #333 !important;
}

.recorded-video-progress-title span {
  color: #1dc053;
}
.line-title{
  text-align: center;
  font-size: 18px;
}
</style>
